package com.mouren.apidemo;

import androidx.appcompat.app.AppCompatActivity;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;


import butterknife.ButterKnife;
import butterknife.OnClick;

import com.dflzm.apidemo.R;

public class MainActivity extends AppCompatActivity {

    private static final String TAG = "StreamRecognition";
    private static final String API_URL = "https://api.siliconflow.cn/v1/chat/completions";
    private static final String API_TOKEN = "sk-gktwbxagyjzkdizhnrlpnydftpouvcmoubelbtsaqhxqejul";

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);

        ButterKnife.bind(this);
    }

    @OnClick({R.id.btn_jni,R.id.btn_jar})
    public void onClick(View v) {
        switch (v.getId()) {
            case R.id.btn_jni:
                startActivity(new Intent(this,JniActivity.class));
                break;
            case R.id.btn_jar:
                startActivity(new Intent(this,JarActivity.class));
                break;
        }
    }


}